class A
	{
	int x;
	
	A()
		{
		x=10;
		}
	
	A(int i)
		{
		x=i;
		}
	
	void showA()
			{
			System.out.println("In Super Class");
			System.out.println(x);
			}
	
	}
class B extends A
	{	
		int a,b;
		B()
			{
			super();
			//super(30);
			a=20;
			b=50;
			}
		void showA()
			{
			System.out.println("In subclass");
			}
		
		void showB()
			{
			super.showA();
			showA();
			System.out.println(a);
			System.out.println(b);
			}
	}
	
class CallingConstructor
	{
	public static void main(String args[])
		{
		B b = new B();
		b.showA();
		b.showB();
		}
	}